package com.lh.common.entity.admin;

import com.lh.common.enums.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author FH
 * @ClassName: OrderOneDetail
 * @Description: (类作用)
 * @date: 2020-05-18 11:41
 */
@Alias("orderOneDetail")
@Data
public class OrderOneDetail implements Serializable {

    @ApiModelProperty(value = "订单状态  TOPAY:待付款; INPAY:支付中; TOSHIP:待发货; OUTSTOCK:已出库; SHIPED:已发货; COMPLETED:已完成;  CANCELLED:已取消; ACTIVITYLOSE:支付失败;REFUNDING:退款中;REFUNDED:完成退款")
    private OrderStatusEnum orderStatus;

    @ApiModelProperty(value = "用户名")
    private String name;

    @ApiModelProperty(value = "用户手机号")
    private String phone;

    @ApiModelProperty(value = "用户类型 GENERAL:普通用户; ROBOT:机器人")
    private UserTypeEnum type;

    @ApiModelProperty(value = "活动名称")
    private String activityName;

    @ApiModelProperty(value = "期数")
    private int period;

    @ApiModelProperty(value = "当期活动状态 PROCESSING:进行中,REVEALED已揭晓")
    private PeriodStatusEnum status;

    @ApiModelProperty(value = "获奖号码")
    private String code;

    @ApiModelProperty(value = "商品名称")
    private String shopName;

    @ApiModelProperty(value = "商品图片")
    private String shopImg;

    @ApiModelProperty(value = "商品规格")
    private String property;

    @ApiModelProperty(value = "活动价格")
    private BigDecimal price;

    @ApiModelProperty(value = "购买次数")
    private int num;

    @ApiModelProperty(value = "订单总金额")
    private BigDecimal sum;

    @ApiModelProperty(value = "收货人")
    private String receiveRecipients;

    @ApiModelProperty(value = "收货人手机号")
    private String receivePhone;

    @ApiModelProperty(value = "区域")
    private String region;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "详细地址")
    private String detailed;

    @ApiModelProperty(value = "订单编号")
    private String orderItem;

    @ApiModelProperty(value = "下单时间")
    private String createTime;

    @ApiModelProperty(value = "支付单号")
    private String payOrderNumber;

    @ApiModelProperty(value = "支付时间")
    private String payTime;

    @ApiModelProperty(value = "支付方式")
    private PayType payType;

    @ApiModelProperty(value = "夺宝码")
    private String periodCode;

    @ApiModelProperty(value = "开奖结果 TRUE:中奖; FALSE:未中奖")
    private TrueFalseEnum result;
}
